package study.repository.user;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import study.domain.user.User;

/**
 * 사용자
 *
 * @author Barney Kim
 */
public interface UserRepository extends PagingAndSortingRepository<User, Long>,
	JpaSpecificationExecutor<User>, UserRepositoryCustom {

	public User findByUserId(Long userId);

	public User findByUsername(String username);
}